package com.lin.linchatgpt.midjourney.service;

import com.lin.linchatgpt.entity.dto.MidjourneyDTO;

/**
 * Copyright(C),2022年-2022,霖霖
 *
 * @author 霖霖
 * @version 1.0
 * @date 2023/7/7 14:14
 * @Description Midjourney图片生成
 */
public interface MidjourneyService {
    /**
     * @description type为0时，流式生成图片，type为1时，异步回调生成图片
     * @params  [java.lang.String, int]
     * @return  com.lin.linchatgpt.entity.dto.MidjourneyDTO
     */

    MidjourneyDTO getMidjourneyImage(String prompt,int modelType,int generateSpeed);


    MidjourneyDTO handlerImage(String action, String imageId);
}
